package com.woniuxy.educationplatform.util;

import org.apache.shiro.crypto.hash.SimpleHash;

/**
 * @author unreleased
 * @date 2020/12/8 18:43
 * MD5加密工具类 默认次数1024
 */
public class Md5Util {
    public static String  encryption(String loginName,String password){
        return new SimpleHash("MD5",password,loginName,1024).toString();
    }
}
